MasterStudy\Lms\Validation\Validator D

Total Complexity 192
Dependencies 5
Dependents 37
Total lines 1,472
Lines of code 663
Logical lines of code 314
Comment lines 621
Methods 78
Properties 8

Methods 78

Method Rating Maintainability Complexity Lines of code
get_errors_array()
A
46 9 38
passes()
A
49 8 28
set_rules()
S
55 7 18
is_validatable()
S
59 7 14
validate_cc()
S
52 6 24
validate_date()
S
58 6 15
validate_url_exists()
S
59 6 14
validate_required()
S
62 6 12
validate_extension()
S
60 6 12
sanitize_value()
S
60 5 14
get_size()
S
60 5 13
validate_iban()
S
45 3 39
get_message_array()
S
39 1 68
has_rule()
S
59 4 14
get_validated()
S
59 4 14
get_field_type()
S
63 4 12
has_data()
S
62 4 11
get_value()
S
62 4 11
add_validator()
S
61 4 11
parse_rule()
S
64 4 8
validate_equalsfield()
S
70 3 6
validate_required_if_accepted()
S
65 3 9
validate_required_if_declined()
S
65 3 9
validate_street_address()
S
69 3 6
validate_json()
S
64 3 10
validate_required_with()
S
70 2 6
validate_persian_text()
S
70 2 6
validate_guidv4()
S
71 2 6
set_field_names()
S
72 2 5
field()
S
78 2 3
validate_phone_number()
S
69 2 7
validate_regex()
S
69 2 7
validate_persian_name()
S
70 2 6
validate_eng_per_pas_name()
S
70 2 6
validate_persian_digit()
S
70 2 6
validate_pashtu_text()
S
70 2 6
validate_required_without()
S
70 2 6
validate_twitter()
S
68 2 7
validate_contains()
S
63 2 10
validate_required_file()
S
78 2 3
set_error_messages()
S
72 2 5
get_messages()
S
69 2 7
validate_email()
S
71 2 6
validate_declined()
S
73 2 4
validate_accepted()
S
73 2 4
validate_required_if()
S
67 2 7
validate_array()
S
80 1 3
validate_nullable()
S
82 1 3
validate_present()
S
80 1 3
add_error()
S
67 1 8
validate_string()
S
80 1 3
validate_ipv6()
S
78 1 3
validate_starts()
S
78 1 3
validate_alpha_numeric_space()
S
78 1 3
set_error_message()
S
79 1 3
get_rules()
S
82 1 3
validate_contains_list()
S
69 1 6
validate_doesnt_contain_list()
S
79 1 3
validate_max()
S
78 1 3
validate_min()
S
78 1 3
validate_size()
S
78 1 3
validate_alpha()
S
78 1 3
validate_alpha_numeric()
S
78 1 3
validate_alpha_dash()
S
78 1 3
validate_alpha_space()
S
79 1 3
validate_min_age()
S
67 1 7
validate_numeric()
S
80 1 3
validate_integer()
S
78 1 3
validate_boolean()
S
72 1 4
validate_float()
S
78 1 3
validate_url()
S
78 1 3
fails()
S
80 1 3
validate_ip()
S
78 1 3
validate_ipv4()
S
78 1 3
set_field_name()
S
79 1 3
validate_name()
S
78 1 3
validate_time()
S
79 1 3
__construct()
S
76 1 4